<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="../common/EditUIHead.jsp"></jsp:include>
<title>权限</title>
</head>
<body>
	<div id="main">
		<div position="center">
			<form id="dataForm" class="l-form" action="${base }/permission/permissionItem/save" method="post">
		  		<input type="hidden" id="dataId" name="id" value="${data.id}"/>
		  		<ul>
		  			<li class="field_label_li"><span style="color:red">*</span>编码：</li>
		  			<li style="width:182px;text-align:left;">
						<input name="number" id="number" validate="{required:true,maxlength:20}" type="text" value="${data.number}"/>
					</li>
					<li class="field_split_li"></li>
					<li class="field_label_li"><span style="color:red">*</span>名称：</li>
		  			<li style="width:182px;text-align:left;">
						<input name="name" id="name" validate="{required:true,maxlength:20}" type="text" value="${data.name}"/>
					</li>
		  		</ul>
		  		<ul>
		  			<li class="field_label_li"><span style="color:red">*</span>简拼：</li>
		  			<li style="width:182px;text-align:left;">
						<input name="simplePinyin" id="simplePinyin" validate="{required:true,maxlength:40}" type="text" value="${data.simplePinyin}"/>
					</li>
					<li class="field_split_li"></li>
					<li class="field_label_li"><span style="color:red">*</span>权限分组：</li>
					<li style="width:182px;text-align:left;">
						<div class="f7" id="group" dataPickerUrl="${base}/permission/permissionGroup/permissionGroupDataPicker" width="750px" height="500px" title="权限分组" >
	                		<input dataPicker="value"  name="group.id" value="${data.group.id}" id="group.id" type="hidden" readOnly="readOnly" />
	                		<input dataPicker="name" ondblclick="openDataPicker('group')" value="${data.group.name}" name="group.name" id="group.name" type="text"/>
		        			<strong onclick="clearDataPicker('group')"></strong>
		        			<span class="p_hov" onclick="openDataPicker('group')"></span>
		        		</div>
					</li>
		  		</ul>
		  		<ul>
		  			<li class="field_label_li"><span style="color:red">*</span>权限方法：</li>
		  			<li style="width:384px;text-align:left;">
						<input name="method" id="method" validate="{required:true,maxlength:40}" type="text" value="${data.method}"/>
					</li>
		  		</ul>
		  		<ul>
		  			<li class="field_label_li">备注：</li>
		  		</ul>
		  		<ul>
		  			<li style="width:544px;text-align:left;padding-left: 20px">
						<textarea name="description" style="width: 520px;height: 120px;" id="description">${data.description }</textarea>
					</li>
		  		</ul>
			</form>
		</div>
	</div>
</body>
</html>